package com.cnvai.cms.javabean.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class QxjsbmbExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QxjsbmbExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andQxjsbmidIsNull() {
            addCriterion("QXJSBMID is null");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidIsNotNull() {
            addCriterion("QXJSBMID is not null");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidEqualTo(BigDecimal value) {
            addCriterion("QXJSBMID =", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidNotEqualTo(BigDecimal value) {
            addCriterion("QXJSBMID <>", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidGreaterThan(BigDecimal value) {
            addCriterion("QXJSBMID >", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("QXJSBMID >=", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidLessThan(BigDecimal value) {
            addCriterion("QXJSBMID <", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidLessThanOrEqualTo(BigDecimal value) {
            addCriterion("QXJSBMID <=", value, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidIn(List<BigDecimal> values) {
            addCriterion("QXJSBMID in", values, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidNotIn(List<BigDecimal> values) {
            addCriterion("QXJSBMID not in", values, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QXJSBMID between", value1, value2, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andQxjsbmidNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QXJSBMID not between", value1, value2, "qxjsbmid");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andBmmcIsNull() {
            addCriterion("BMMC is null");
            return (Criteria) this;
        }

        public Criteria andBmmcIsNotNull() {
            addCriterion("BMMC is not null");
            return (Criteria) this;
        }

        public Criteria andBmmcEqualTo(String value) {
            addCriterion("BMMC =", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcNotEqualTo(String value) {
            addCriterion("BMMC <>", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcGreaterThan(String value) {
            addCriterion("BMMC >", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcGreaterThanOrEqualTo(String value) {
            addCriterion("BMMC >=", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcLessThan(String value) {
            addCriterion("BMMC <", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcLessThanOrEqualTo(String value) {
            addCriterion("BMMC <=", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcLike(String value) {
            addCriterion("BMMC like", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcNotLike(String value) {
            addCriterion("BMMC not like", value, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcIn(List<String> values) {
            addCriterion("BMMC in", values, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcNotIn(List<String> values) {
            addCriterion("BMMC not in", values, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcBetween(String value1, String value2) {
            addCriterion("BMMC between", value1, value2, "bmmc");
            return (Criteria) this;
        }

        public Criteria andBmmcNotBetween(String value1, String value2) {
            addCriterion("BMMC not between", value1, value2, "bmmc");
            return (Criteria) this;
        }

        public Criteria andQyztIsNull() {
            addCriterion("QYZT is null");
            return (Criteria) this;
        }

        public Criteria andQyztIsNotNull() {
            addCriterion("QYZT is not null");
            return (Criteria) this;
        }

        public Criteria andQyztEqualTo(String value) {
            addCriterion("QYZT =", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztNotEqualTo(String value) {
            addCriterion("QYZT <>", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztGreaterThan(String value) {
            addCriterion("QYZT >", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztGreaterThanOrEqualTo(String value) {
            addCriterion("QYZT >=", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztLessThan(String value) {
            addCriterion("QYZT <", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztLessThanOrEqualTo(String value) {
            addCriterion("QYZT <=", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztLike(String value) {
            addCriterion("QYZT like", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztNotLike(String value) {
            addCriterion("QYZT not like", value, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztIn(List<String> values) {
            addCriterion("QYZT in", values, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztNotIn(List<String> values) {
            addCriterion("QYZT not in", values, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztBetween(String value1, String value2) {
            addCriterion("QYZT between", value1, value2, "qyzt");
            return (Criteria) this;
        }

        public Criteria andQyztNotBetween(String value1, String value2) {
            addCriterion("QYZT not between", value1, value2, "qyzt");
            return (Criteria) this;
        }

        public Criteria andBzIsNull() {
            addCriterion("BZ is null");
            return (Criteria) this;
        }

        public Criteria andBzIsNotNull() {
            addCriterion("BZ is not null");
            return (Criteria) this;
        }

        public Criteria andBzEqualTo(String value) {
            addCriterion("BZ =", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotEqualTo(String value) {
            addCriterion("BZ <>", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThan(String value) {
            addCriterion("BZ >", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzGreaterThanOrEqualTo(String value) {
            addCriterion("BZ >=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThan(String value) {
            addCriterion("BZ <", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLessThanOrEqualTo(String value) {
            addCriterion("BZ <=", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzLike(String value) {
            addCriterion("BZ like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotLike(String value) {
            addCriterion("BZ not like", value, "bz");
            return (Criteria) this;
        }

        public Criteria andBzIn(List<String> values) {
            addCriterion("BZ in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotIn(List<String> values) {
            addCriterion("BZ not in", values, "bz");
            return (Criteria) this;
        }

        public Criteria andBzBetween(String value1, String value2) {
            addCriterion("BZ between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andBzNotBetween(String value1, String value2) {
            addCriterion("BZ not between", value1, value2, "bz");
            return (Criteria) this;
        }

        public Criteria andSyhIsNull() {
            addCriterion("SYH is null");
            return (Criteria) this;
        }

        public Criteria andSyhIsNotNull() {
            addCriterion("SYH is not null");
            return (Criteria) this;
        }

        public Criteria andSyhEqualTo(BigDecimal value) {
            addCriterion("SYH =", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhNotEqualTo(BigDecimal value) {
            addCriterion("SYH <>", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhGreaterThan(BigDecimal value) {
            addCriterion("SYH >", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SYH >=", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhLessThan(BigDecimal value) {
            addCriterion("SYH <", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SYH <=", value, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhIn(List<BigDecimal> values) {
            addCriterion("SYH in", values, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhNotIn(List<BigDecimal> values) {
            addCriterion("SYH not in", values, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SYH between", value1, value2, "syh");
            return (Criteria) this;
        }

        public Criteria andSyhNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SYH not between", value1, value2, "syh");
            return (Criteria) this;
        }

        public Criteria andJsflIsNull() {
            addCriterion("JSFL is null");
            return (Criteria) this;
        }

        public Criteria andJsflIsNotNull() {
            addCriterion("JSFL is not null");
            return (Criteria) this;
        }

        public Criteria andJsflEqualTo(BigDecimal value) {
            addCriterion("JSFL =", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflNotEqualTo(BigDecimal value) {
            addCriterion("JSFL <>", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflGreaterThan(BigDecimal value) {
            addCriterion("JSFL >", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("JSFL >=", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflLessThan(BigDecimal value) {
            addCriterion("JSFL <", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflLessThanOrEqualTo(BigDecimal value) {
            addCriterion("JSFL <=", value, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflIn(List<BigDecimal> values) {
            addCriterion("JSFL in", values, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflNotIn(List<BigDecimal> values) {
            addCriterion("JSFL not in", values, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JSFL between", value1, value2, "jsfl");
            return (Criteria) this;
        }

        public Criteria andJsflNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("JSFL not between", value1, value2, "jsfl");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}